/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springmvcstudy.mbean;

import javax.management.MXBean;

/**
 * This is the interface to define an MXBean, with annotation @MXBean, the 
 * interface class name don't have to use xxxMXBean convention, and the impl
 * class also can be any name.
 * @author winnie
 */
@MXBean
public interface IQueueSampler {
    QueueSample getQueueSample();
    void addToQueue(String content);
    void clearQueue();
}
